document.addEventListener('DOMContentLoaded', function () {
    document.getElementById('take-me-back').addEventListener('click', function () {
        window.location.href = 'main.html';
    });

    // dots 动画
    const dots = document.getElementById('dots');
    const patterns = ['o O o', 'o o O', 'o o o','O o o'];
    let idx = 0;
    setInterval(() => {
        dots.textContent = patterns[idx % patterns.length];
        idx++;
    }, 150);//150ms

    console.log('欢迎使用FCISSR！请注意，当前版本仍处于测试阶段，可能存在一些问题。');
});